package com.cimp.util.iqy;

import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

public class IqyContants {

    /**
     * 爱奇艺对接权限相关
     */
    public static final int PARTNER_ID = 89201974;

    /**
     * 爱奇艺对接权限相关
     */

    public static final int MODEL_ID = 1940;

    /**
     * 虚拟接口状态
     */
    public static final int VIRTUAL_STATE_ACTIVE = 1;
    public static final int VIRTUAL_STATE_IN_ACTIVE = 0;

    /**
     * 接口类型和地址对应关系
     */
    public static Map<String, String> interfaceMap = Collections.unmodifiableMap(new HashMap<String,String>(){{
        put("chn-list", "http://face40.itv.iqiyi.com/chn-list?t={token}" );
        put("metas-info", "http://face40.itv.iqiyi.com/metas-info?t={token}&id={id}" );
        put("ep-list", "http://face40.itv.iqiyi.com/ep-list?t={token}&id={id}&stype={stype}&epType={epType}&pn={pn}&ps={ps}" );
        put("people", "http://face40.itv.iqiyi.com/people?t={token}&id={id}" );
        put("switch", "http://face40.itv.iqiyi.com/switch?t={token}" );
        put("hot-count", "http://face40.itv.iqiyi.com/hot-count?t={token}&ids={ids}" );
        put("snapshot", "http://face40.itv.iqiyi.com/snapshot?t={token}&chnId={chnId}&type={type}" );
        put("change", "http://face40.itv.iqiyi.com/change?t={token}&st={startTs}&et={endTs}&pn={pn}&type={type}&lastId={lastId}" );
        put("change-supplement", "http://face40.itv.iqiyi.com/change?t={token}&st={startTs}&et={endTs}&pn={pn}&type={type}&lastId={lastId}" );
        put("people-snapshot", "http://face40.itv.iqiyi.com/people-snapshot?t={token}" );
        put("people-change", "http://face40.itv.iqiyi.com/people-change?t={token}&st={startTs}&et={endTs}&pn={pn}&lastId={lastId}" );
    }});


}
